﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package validation {

    public class GenericValidationScript {

        protected var m_name:String;
        protected var m_conditionSet:GenericValidationConditionSet;

        public function GenericValidationScript(_arg1:String){
            this.m_name = _arg1;
        }
        public function get name():String{
            return (this.m_name);
        }
        public function set conditionSet(_arg1:GenericValidationConditionSet):void{
            this.m_conditionSet = _arg1;
        }
        public function validate(_arg1=null):Boolean{
            return (this.m_conditionSet.evaluate(_arg1));
        }

    }
}//package validation 
